//
//  WQChatInputViewController.m
//  SomeUIKit
//
//  Created by WangQiang on 2016/11/23.
//  Copyright © 2016年 WangQiang. All rights reserved.
//

#import "WQChatInputViewController.h"
#import "WQInputView.h"

@interface WQChatInputViewController ()
@property (weak ,nonatomic) WQInputView *bottomInputView;
@end

@implementation WQChatInputViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.automaticallyAdjustsScrollViewInsets = NO;
    self.edgesForExtendedLayout = UIRectEdgeNone;
    
    WQInputView *textView  = [[WQInputView alloc] initWithFrame:CGRectMake(0, 64, APP_WIGHT, 50)];
    textView.backgroundColor = [UIColor lightTextColor];
    [self.view addSubview:textView];
    
    WQInputView *inputView  = [[WQInputView alloc] initWithFrame:CGRectMake(0, self.view.height - 50 - TopHeight, APP_WIGHT, 50)];
    inputView.backgroundColor = [UIColor lightGrayColor];
    _bottomInputView = inputView;
    [self.view addSubview:inputView];
}


@end
